package com.lizhi.menu.Dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.lizhi.menu.common.entity.PageQuery;
import com.lizhi.menu.domain.Car;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @author lizhi
 * @date 2023-05-18
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CarDto extends PageQuery<Car> {

    @TableId
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 数量
     */
    private Long count;

    /**
     * 商品id
     */
    private Long commodityId;

    /**
     * 单价
     */
    private BigDecimal price;
}
